package com.xyh.cloudorder.pojo.order;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "CLO_ORDER_STATUS")
public class CloOrderStatus {
    @Id
    @Column(name = "ORDERCODE")
    private String ordercode;

    @Id
    @Column(name = "XH")
    private BigDecimal xh;

    @Column(name = "OLDSTATUS")
    private BigDecimal oldstatus;

    @Column(name = "NEWSTATUS")
    private BigDecimal newstatus;

    @Column(name = "BGDATE")
    private Date bgdate;

    @Column(name = "BGLY")
    private String bgly;

    @Column(name = "BGOPERNAME")
    private String bgopername;

    @Column(name = "FRCODE")
    private String frcode;

    @Column(name = "FORGID")
    private BigDecimal forgid;

    /**
     * @return ORDERCODE
     */
    public String getOrdercode() {
        return ordercode;
    }

    /**
     * @param ordercode
     */
    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode;
    }

    /**
     * @return XH
     */
    public BigDecimal getXh() {
        return xh;
    }

    /**
     * @param xh
     */
    public void setXh(BigDecimal xh) {
        this.xh = xh;
    }

    /**
     * @return OLDSTATUS
     */
    public BigDecimal getOldstatus() {
        return oldstatus;
    }

    /**
     * @param oldstatus
     */
    public void setOldstatus(BigDecimal oldstatus) {
        this.oldstatus = oldstatus;
    }

    /**
     * @return NEWSTATUS
     */
    public BigDecimal getNewstatus() {
        return newstatus;
    }

    /**
     * @param newstatus
     */
    public void setNewstatus(BigDecimal newstatus) {
        this.newstatus = newstatus;
    }

    /**
     * @return BGDATE
     */
    public Date getBgdate() {
        return bgdate;
    }

    /**
     * @param bgdate
     */
    public void setBgdate(Date bgdate) {
        this.bgdate = bgdate;
    }

    /**
     * @return BGLY
     */
    public String getBgly() {
        return bgly;
    }

    /**
     * @param bgly
     */
    public void setBgly(String bgly) {
        this.bgly = bgly;
    }

    /**
     * @return BGOPERNAME
     */
    public String getBgopername() {
        return bgopername;
    }

    /**
     * @param bgopername
     */
    public void setBgopername(String bgopername) {
        this.bgopername = bgopername;
    }

    /**
     * @return FRCODE
     */
    public String getFrcode() {
        return frcode;
    }

    /**
     * @param frcode
     */
    public void setFrcode(String frcode) {
        this.frcode = frcode;
    }

    /**
     * @return FORGID
     */
    public BigDecimal getForgid() {
        return forgid;
    }

    /**
     * @param forgid
     */
    public void setForgid(BigDecimal forgid) {
        this.forgid = forgid;
    }
}